package com.damuzee.system.system.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.mybatis.sql.page.Page;
import org.springframework.stereotype.Service;

import com.damuzee.system.system.domain.PermLog;
import com.damuzee.system.system.persistence.PermLogMapper;
import com.damuzee.system.system.service.PermLogService;

@Service
public class  PermLogServiceImpl implements PermLogService {

	public Page< PermLog> getPermLogList(Page<  PermLog> page,   PermLog  bean) {
		return mapper.selectPageByWhere(page,   bean);
	}

	public void savePermLog( PermLog bean) {
		 
		mapper.insert(bean);
	}
	
 
	public List<PermLog> getPermLogList( PermLog bean) {
		 
		return mapper.selectList(bean);
	}

	 
	public void updatePermLog( PermLog bean) {
		mapper.update(bean); 
	}

 
	@Resource
	private  PermLogMapper mapper ;
}
